package com.gxa.community.admin.mapper.order;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.community.core.pojo.domain.OrderInfo;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {
        //查询团长邀请人数
    Integer queryPeople(Integer userId);
        //查询今日订单数量
    Integer queryOrderCount(Integer userId,Long startTime,Long endTime);
        //查询今日下单人数
    Integer queryPeopleCount(Integer userId,Long startTime,Long endTime);
}
